<html>
<head>
<title> Simplifying Setup of Domains and Web Sites </title>
<meta name="Keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="locate.js"></script>
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
</head>
<script src="highlight.js"></script>
<body bgcolor="#FFFFFF" text="#000000" link="#0000A0" alink="#008000" vlink="#FF0000" onLoad="FindCorrectTOCPage(); prettyPrint()">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<p class="pagenavigation"><a href="17284.htm" target="_self"><img src="38976.gif" alt="Previous page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Previous page</a></p></td>
<td>
<p class="pagenavigation"><a href="17286.htm" target="_self"><img src="38977.gif" alt="Next page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Next page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151888.htm" target="TOC"><img src="38970.gif" alt="Locate page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Locate page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151888.htm" target="TOC"><a class="" title="" href="javascript:print();" target="_self"><img src="39072.gif" alt="Print this page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"></a></a></p></td>
</tr>
</table>
<h3 class="heading3">Simplifying Setup of Domains and Web Sites</h3>
<p class="bodytext">If you are going to serve numerous users with a great number of domains, you may want to create hosting configuration presets, referred to as domain templates, which will simplify setting up hosting accounts for new domains and web sites. The templates cover all resource usage allotments, permissions and limits that you can define for a hosting account, plus mail bounce and Web statistics retention settings.</p>
<p class="procedureheading">To create a domain template:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Domain Templates</strong> icon in the <strong class="specialbold">Tools</strong> group.</li><li class="procedurelistnumber">Click <strong class="specialbold">Add Domain Template</strong>.</li><li class="procedurelistnumber">Specify the template properties:<ol class="listalpha2"><li class="listalpha2"><strong class="specialbold">Template name</strong>. Specify a name for this template. During setup of a new hosting account, you will be prompted to select the required template by its name. Therefore, we recommend that you choose a meaningful name that corresponds to one of your  hosting plans or describes the amount of allotted resources. For example, <strong class="specialbold">Mail hosting, 1GB disk space, 500 mailboxes</strong>.</li><li class="listalpha2"><strong class="specialbold">Mail to nonexistent users</strong>. Specify the domain-wide mail bounce options: When somebody sends an e-mail message to an e-mail address that does not exist under your domain, the mail server on your domain accepts mails, processes it, and when it finds out that there is no such a recipient under your domain, it returns the mail back to sender with the &quot;this address no longer accepts mail&quot; notice. You can choose to: <ul class="listbullet3"><li class="listbullet3">change the default notice if you do not like it (leave the <strong class="specialbold">Bounce with message</strong> option selected and type another message into the input box),</li><li class="listbullet3">forward undelivered mail to another e-mail address (select the <strong class="specialbold">Forward to address</strong> option and specify the e-mail address you need), or</li><li class="listbullet3">reject mail without accepting it (select the <strong class="specialbold">Reject</strong> option). This setting can decrease mail server load caused by a large amount of spam, which is often directed at randomly generated user names. However, for spammers this can somewhat speed up scanning your mail server for valid e-mail addresses.</li></ul></li><li class="listalpha2"><strong class="specialbold">WebMail</strong>. Specify whether the users of mailboxes in this domain should be able to read their mail through a browser based WebMail application.</li><li class="listalpha2"><strong class="specialbold">Maximum number of subdomains</strong>. Specify the number of subdomains that can be hosted under this domain.</li><li class="listalpha2"><strong class="specialbold">Maximum number of domain aliases</strong>. Specify the total number of additional alternative domain names that the site owner will be able to use for his or her web site.</li><li class="listalpha2"><strong class="specialbold">Disk space</strong>. Specify the total amount of disk space allocated to a hosting account associated with the domain. This amount is measured in megabytes. It includes disk space occupied by all files related to this domain/web site: web site contents, databases, applications, mailboxes, log files and backup files. This is the so-called soft quota: when it is exceeded, domain names and web sites are not suspended automatically, only the appropriate notices are sent to your and your client's e-mail addresses and the resource overage is indicated by the icon <img src="17553.gif" alt="" height="16" width="16" vspace="0" hspace="0" align="bottom" border="0"> shown in the control panel to the left of the domain name (see the list of domain names by clicking the <strong class="specialbold">Domains</strong> shortcut in the navigation pane).</li><li class="listalpha2"><strong class="specialbold">Maximum amount of traffic</strong>. Specify the amount of data in megabytes that can be transferred from the web site during a month. Once the limit is reached, the appropriate notices are sent to your and your client's e-mail addresses and the resource overage is indicated by a corresponding icon shown in the control panel to the left of the domain name  (see the list of domain names by clicking the <strong class="specialbold">Domains</strong> shortcut in the navigation pane). </li><li class="listalpha2"><strong class="specialbold">Maximum number of web users</strong>. Specify the number of personal web pages that the domain owner can host for other users under his or her domain. This service is mostly used in educational institutions that host non-commercial personal pages of their students and staff. These pages usually have web addresses like http://your-domain.com/~username. If you wish to allow execution of scripts embedded in personal web pages, select also the <strong class="specialbold">Allow the web users scripting</strong> check box. See the <a id="h17708" class="jumptemplate" title="Hosting Personal Web Pages on Your Web Server" href="17313.htm" target="_self">Hosting Personal Web Pages</a> section for details.</li><li class="listalpha2"><strong class="specialbold">Maximum number of databases</strong>. Specify the number of databases that can be hosted in a domain.</li><li class="listalpha2"><strong class="specialbold">Maximum number of mailboxes</strong>. Specify the number of mailboxes that can be hosted in a domain.</li><li class="listalpha2"><strong class="specialbold">Mailbox quota</strong>. Specify the amount of disk space in kilobytes that is allocated for storing e-mail messages and autoresponder attachment files to each mailbox in a domain.   </li><li class="listalpha2"><strong class="specialbold">Maximum number of mail forwarders</strong>. Specify the number of mail forwarders that can be used in a domain.</li><li class="listalpha2"><strong class="specialbold">Maximum number of mail autoresponders</strong>. Specify the number of automatic responses that can be set up in a domain.</li><li class="listalpha2"><strong class="specialbold">Maximum number of mailing lists</strong>. Specify the number of mailing lists that the domain owner can run in a domain. The mailing lists are served by the GNU Mailman software, which may or may not be installed on the server. If it is not installed and your customers would like to use it, you may want to to install it. To allow the use of mailing lists, you should also put a check mark into the <strong class="specialbold">Mailing lists</strong> check box under the Preferences group. </li><li class="listalpha2"><strong class="specialbold">Maximum number of Java applications</strong>. Specify the maximum number of Java applications or applets that the domain owner can install under a domain.</li><li class="listalpha2"><strong class="specialbold">Validity period</strong>. Specify the term for a hosting account. At the end of the term, the domain/web site will be suspended, its Web, FTP and mail services will no longer be accessible to the Internet users, and domain owner will not be able to log in to the control panel. Hosting accounts cannot be automatically renewed, therefore, in order to bring the hosted domain name/web site back to operation, you will need to manually renew the hosting account: click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane, click the domain name your need, click the <strong class="specialbold">Limits</strong> icon, specify another term in the <strong class="specialbold">Validity period</strong> box, click <strong class="specialbold">OK</strong>, then click the <strong class="specialbold">Switch On</strong> icon in the <strong class="specialbold">Domain</strong> group (<strong class="specialbold">Domains </strong>&gt;<strong class="specialbold"> domain name</strong>).</li><li class="listalpha2"><strong class="specialbold">Log rotation</strong>. All connections to the Web server and requests for files that were not found on the server are registered in log files. These log files are analyzed by the statistical utilities running on the server, which then present graphical reports on demand. If you need to view the contents of these raw log files for debugging purposes, on your Home page, click the domain name you need, click <strong class="specialbold">Log Manager</strong>, and then click the log file name you need. To prevent these log files from growing too large, you should enable automatic cleanup and recycling of log files: <ul class="listbullet3"><li class="listbullet3">select the <strong class="specialbold">Switch on</strong> <strong class="specialbold">log rotation</strong> check box,</li><li class="listbullet3">specify when to recycle log files,</li><li class="listbullet3">specify how many instances of each log file processed by Plesk's statistical utilities to store on the server,</li><li class="listbullet3">specify whether they should be compressed,</li><li class="listbullet3">specify whether they should be sent to an e-mail address after processing.</li></ul></li><li class="listalpha2"><strong class="specialbold">Web and traffic statistics retention</strong>. Specify the number of months during which the Web and bandwidth usage statistics should be kept on the server.</li><li class="listalpha2"><strong class="specialbold">DNS</strong>. Specify whether the DNS server on your Web host should act as a master (primary) or slave (secondary) name server for the domain name zone. A primary name server stores locally the zone file it serves, while a secondary server only retrieves a copy of this file from the primary. You would normally leave the <strong class="specialbold">Master</strong> option selected.</li><li class="listalpha2"><strong class="specialbold">Physical hosting account</strong>. If you are going to host not only domain names, but also web sites, select the <strong class="specialbold">Physical hosting</strong> check box and specify the hosting features:<ul class="listbullet3"><li class="listbullet3"><strong class="specialbold">Hard disk quota</strong>. In addition to the soft quota, you can specify the so-called hard quota that will not allow writing more files to the web space when the limit is reached. At attempt to write files, users will get &quot;Out of disk space&quot; error.</li><li class="listbullet3"><strong class="specialbold">SSL support</strong>. Secure Sockets Layer encryption is generally used for protecting transfer of sensitive data during online transactions on e-commerce Web sites that run on dedicated IP addresses. SSL certificates that participate in the encryption process are usually applied to a single domain name on a single IP address, therefore, each site that needs SSL protection must be hosted on a dedicated IP address. An exception to this is subdomains, which you can protect with a wildcard certificate. Installing an SSL certificate on a Web server that hosts several web sites with different domain names on a single IP address (shared or name-based hosting) is technically possible, however, it is not recommended: the encryption will be provided, but users will get warning messages on attempt to connect to the secure site. To allow SSL encryption for Web sites, select the <strong class="specialbold">SSL support</strong> check box.</li><li class="listbullet3"><strong class="specialbold">Create and publish site using Sitebuilder</strong>. This will enable the domain administrator to create and manage a Web site using Sitebuilder. </li><li class="listbullet3"><strong class="specialbold">Use a single directory for housing SSL and non-SSL content</strong>. By default, when users publish their sites through their FTP accounts, they need to upload the Web content that should be accessible via secure connections to the <code class="monospace">httpsdocs</code> directory, and the content that should be accessible via plain HTTP, to the <code class="monospace">httpdocs</code> directory. For the convenience of  publishing all content through a single location – <code class="monospace">httpdocs</code> directory, select the <strong class="specialbold">Use a single directory for housing SSL and non-SSL content</strong> check box.</li><li class="listbullet3"><strong class="specialbold">FrontPage support</strong>. Microsoft FrontPage is a popular web site authoring tool. To enable users to publish and modify their sites through Microsoft FrontPage, select the <strong class="specialbold">FrontPage support </strong>and <strong class="specialbold">FrontPage over SSL support</strong> check boxes and set the <strong class="specialbold">FrontPage authoring </strong>option to <strong class="specialbold">allowed</strong>.</li><li class="listbullet3"><strong class="specialbold">Support for programming and scripting languages widely used in development of dynamic Web sites and server-side Web applications</strong>. Specify which of the following programming and scripting languages should be interpreted, executed or otherwise processed by the web server: Active Server Pages (ASP), Server Side Includes (SSI), PHP hypertext preprocessor (PHP), Common Gateway Interface (CGI), Fast Common Gateway Interface (FastCGI), Perl, Python, ColdFusion, and Miva scripting required for running Miva e-commerce solutions.</li><li class="listbullet3"><strong class="specialbold">Web statistics</strong>. To allow domain/web site owner to view the information on the number of people visited his or her site and the pages of the site they viewed, select the statistical package you need from the <strong class="specialbold">Web statistics</strong> menu (<strong class="specialbold">AWStats</strong> is recommended), and select the <strong class="specialbold">accessible via password protected directory /plesk-stat/</strong> check box. This will install the statistical software of your choice, which will generate reports and place them into the password-protected directory. The domain/web site owner will then be able to access Web statistics at the URL: https://your-domain.com/plesk-stat/webstat using his or her FTP account login and password.</li><li class="listbullet3"><strong class="specialbold">Custom error documents</strong>. When visitors coming to your site request pages that the web server cannot find, the web server generates and displays a standard HTML page with an error message. If you wish to create your own error pages and use them on your server or allow your customers to do that, select the <strong class="specialbold">Custom error documents</strong> check box.</li><li class="listbullet3"><strong class="specialbold">Shell access to server with FTP user's credentials</strong>. This allows a site owner to upload securely web content to the server through a Secure Socket Shell connection, however, allowing shell access also poses a potential threat to the server security, so we recommend that you do not allow shell access. Leave the <strong class="specialbold">Forbidden</strong> option selected.</li></ul></li></ol></li><li class="procedurelistnumber">Click <strong class="specialbold">OK</strong> to complete creation of a template. <p class="listcontinue">During setup of a hosting account for a new domain/web site, you will select the required template and the hosting account will be created and allocated the resources and hosting services you defined.</p>
</li></ol><p class="procedureheading">To modify settings for a single domain or Web site:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the domain name you need.</li><li class="procedurelistnumber">To allocate more disk space, bandwidth and other resources, click the <strong class="specialbold">Limits</strong> icon in the <strong class="specialbold">Domain</strong> group, adjust the settings as required, and click <strong class="specialbold">OK</strong>.</li><li class="procedurelistnumber">To add hosting features, such as support for programming languages and scripts, click the <strong class="specialbold">Setup</strong> icon in the <strong class="specialbold">Hosting</strong> group, adjust the settings as required and click <strong class="specialbold">OK</strong>.</li></ol><p class="procedureheading">To modify settings for a number of domains or Web sites:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Select the check boxes corresponding to the domain names you need.</li><li class="procedurelistnumber">Click the <img src="17061.gif" alt="" height="16" width="16" vspace="0" hspace="0" align="bottom" border="0"> <strong class="specialbold">Group Operations</strong> icon located above the list of domains.</li><li class="procedurelistnumber">Modify the settings as required and click <strong class="specialbold">OK</strong>.</li></ol><p class="procedureheading">To reflect the changes in your domain templates that will apply to the newly created accounts:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Domain Templates</strong> icon in the <strong class="specialbold">Tools</strong> group.</li><li class="procedurelistnumber">Click the template name corresponding to the domain template you wish to update.</li><li class="procedurelistnumber">Modify the settings as required and click <strong class="specialbold">OK</strong>. <p class="listcontinue">Note that modifying templates does not affect the existing domains and web sites.</p>
</li></ol><p class="procedureheading">To remove a template that you no longer need:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Domain Templates</strong> icon in the <strong class="specialbold">Tools</strong> group.</li><li class="procedurelistnumber">Select a check box corresponding to the template you no longer need.</li><li class="procedurelistnumber">Click <img src="17026.gif" alt="" height="16" width="16" vspace="0" hspace="0" align="bottom" border="0"> <strong class="specialbold">Remove Selected</strong>. Confirm removal and click <strong class="specialbold">OK</strong>.</li></ol>


</body>
<script>highlightTOC()</script>
</html>

